package com.ids.actions;

import java.util.List;
import com.ids.bean.EmployeeNew;
import com.ids.service.EmployeeDetailService;
import com.opensymphony.xwork2.ActionSupport;

public class AdminChangeEmployeePasswordScreen extends ActionSupport {
	private static final long serialVersionUID = 1L;
	private List<EmployeeNew> employeeDetails;

	public String execute() throws Exception {
		employeeDetails = EmployeeDetailService.getInstance().getEmployeeDetails();
		setEmployeeDetails(employeeDetails);
		System.out.println(employeeDetails.get(1).getId());
		return SUCCESS;
	}

	public List<EmployeeNew> getEmployeeDetails() {
		return employeeDetails;
	}

	public void setEmployeeDetails(List<EmployeeNew> employeeDetails) {
		this.employeeDetails = employeeDetails;
	}
	
}
